package com.example.demo.controller;

import com.example.demo.client.OrderClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ChoviWu
 * @date 2018/12/7
 * Description :
 */
@RestController
public class TestController {


    @Autowired
    OrderClient orderClient;

    @RequestMapping("/hello")
    public Object hello(String hello){
        return orderClient.hello(hello);
    }
}
